﻿//var fnCustomAdd = function ()
//{
//    var elements = YAHOO.util.Dom.getElementsByClassName('bd', 'div')[0];
//    //d.style.width = 600;
//    //d.style.height = 400;
//    document.getElementById("EditUIWindow").src = "../Crm/SendMessage.aspx";
//    // 
//    var w = [],
//        h = [];
//    w.push(700);
//    h.push(560);
//    YAHOO.example.container.dialog1.configWidth(null, w);
//    YAHOO.example.container.dialog1.configHeight(null, h);
//    //
//    YAHOO.example.container.dialog1.render();
//    YAHOO.example.container.dialog1.fillHeight(elements);
//    YAHOO.example.container.dialog1.show();
//}

//自定义新增方法
var fnCustomAdd = function ()
{
    parent.addTabs("发送消息", '../Crm/SendMessage.aspx');
    parent.NeedRefreshPage = this;
}
